﻿using System.Collections.Generic;

namespace Compiler.Primitives
{
    class Class
    {
        private readonly string _name;
        private readonly List<Function> _functions;

        public Class(string name, List<Function> functions)
        {
            _name = name;
            _functions = functions;
        }

        public string GetName()
        {
            return _name;
        }

        public List<Function> GetFunctions()
        {
            return _functions;
        } 
    }
}
